package com.xteam.youin_supplier.model;

/**
 * Created by Curry on 2015-12-23.
 * 用户基本信息
 */
public class UserInfo {


    /**
     * flag : true
     * data : {"supplier_id":1,"account":"zhangchao","user_id":1,"password":""}
     * msg : 成功
     */
    private boolean flag;
    private DataEntity data;
    private String msg;

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public DataEntity getData() {
        return data;
    }

    public String getMsg() {
        return msg;
    }

    public class DataEntity {
        /**
         * supplier_id : 1
         * account : zhangchao
         * user_id : 1
         * password :
         */
        private int supplier_id;
        private String account;
        private int user_id;
        private String password;

        public void setSupplier_id(int supplier_id) {
            this.supplier_id = supplier_id;
        }

        public void setAccount(String account) {
            this.account = account;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public int getSupplier_id() {
            return supplier_id;
        }

        public String getAccount() {
            return account;
        }

        public int getUser_id() {
            return user_id;
        }

        public String getPassword() {
            return password;
        }
    }
}
